lst=[
    {'name':'梅旺阳','age':'18','grade':100},
    {'name':'魏清林','age':'18','grade':100},
    {'name':'梅翔','age':'17','grade':100},
]
s=str(lst)
print(s)
with open('kil.text','w') as file:
    file.write(s)